Before Render

{ onBeforeRender }

The onBeforeRender() function will be called once for all data chunks, triggered by every change that may affect the visual. This method should usually handle any shared logic across chunks.

Method
this.onBeforeRender = function(api) {};

Returns

void

Inputs

api

custom visual API instance